package com.topisv.tms.repository.work.prepkg;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import com.topisv.tms.entity.work.prepkg.PrepkgPlan;

/**
 * 预包装计划_DAO
 * @author ch
 *
 */
public abstract interface PrepkgPlanDao extends PagingAndSortingRepository<PrepkgPlan, Long>, JpaSpecificationExecutor<PrepkgPlan>
{

	@Query("select t from PrepkgPlan t where t.planCode=?")
	PrepkgPlan loadByPlanCode(String planCode);

}